package net.myjung.model;

import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;
import net.myjung.model.annotation.MdlElement;

@MdlClass(name = "Field")
@SuppressWarnings("serial")
public class MdlField extends MdlObject {
	@MdlAttribute
	private String column;
	@MdlAttribute
	private String type;
	@MdlAttribute
	private Boolean reference = false;
	@MdlAttribute
	private Long length;
	@MdlAttribute
	private String index;
	@MdlAttribute
	private String multiplicity;
	@MdlAttribute
	private String plural;
	@MdlAttribute
	private String orderBy;
	@MdlAttribute
	private Integer pageSize;
	@MdlElement
	private String defaultValue;
	public String getColumn() {
		return column;
	}
	public void setColumn(String column) {
		this.column = column;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Boolean getReference() {
		return reference;
	}
	public void setReference(Boolean reference) {
		this.reference = reference;
	}
	public Long getLength() {
		return length;
	}
	public void setLength(Long length) {
		this.length = length;
	}
	public String getIndex() {
		return index;
	}
	public void setIndex(String index) {
		this.index = index;
	}
	public String getMultiplicity() {
		return multiplicity;
	}
	public void setMultiplicity(String multiplicity) {
		this.multiplicity = multiplicity;
	}
	public String getPlural() {
		return plural;
	}
	public void setPlural(String plural) {
		this.plural = plural;
	}
	public String getOrderBy() {
		return orderBy;
	}
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
}
